package com.dier.webservices.restful.model;
import java.util.List;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "films")
public class FilmList {
 
    private List<Film> films;

    public FilmList() {
	}

	public FilmList(List<Film> films) {
		this.films = films;
	}

	@XmlElement(name="film")
	public List<Film> getFilms() {
		return films;
	}
	public void setFilms(List<Film> films) {
		this.films = films;
	}
    
}